//
//  TestViewController.swift
//  JKSelectorPicture
//
//  Created by 王冲 on 2018/1/28.
//  Copyright © 2018年 希爱欧科技有限公司. All rights reserved.
//

import UIKit

class TestViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        view.backgroundColor = UIColor.white
        
        addChildViewController(jkSelectorPictureVC)
        view.addSubview(jkSelectorPictureVC.view)
        
    }
    
    // MARK: 添加图片选择器
    private lazy var jkSelectorPictureVC: JKSelectorPictureViewController = {
        
        let vc = JKSelectorPictureViewController()
        vc.view.frame = CGRect(x: 0, y: 20, width: JKscreenW, height: JKscreenH-20)
        return vc
    }()

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
